Average sentence length |
---|
15.3195 |
sentence length | percentage |
---|---|
3 | 0.2400 |
4 | 1.3500 |
5 | 2.5100 |
6 | 3.6400 |
7 | 4.8100 |
8 | 4.9300 |
9 | 5.8300 |
10 | 5.7000 |
11 | 6.0300 |
12 | 5.7400 |
13 | 5.5300 |
14 | 5.1300 |
15 | 5.1700 |
16 | 4.6200 |
17 | 4.5400 |
18 | 4.3300 |
19 | 3.8600 |
20 | 3.5500 |
21 | 3.1000 |
22 | 2.9700 |
23 | 2.4800 |
24 | 2.4000 |
25 | 2.1300 |
26 | 1.6500 |
27 | 1.4300 |
28 | 1.1700 |
29 | 1.0200 |
30 | 0.7900 |
31 | 0.7200 |
32 | 0.6700 |
33 | 0.4600 |
34 | 0.3800 |
35 | 0.3100 |
36 | 0.2900 |
37 | 0.2000 |
38 | 0.1200 |
39 | 0.0800 |
40 | 0.0600 |
41 | 0.0400 |
42 | 0.0100 |
44 | 0.0100 |
Next we measure the length of a sentence by its number of words. Again, we are interested in average length and length distribution.
See above.
For simplicity, the number of words in a sentence is calculated as 1+(Number of blanks in the sentence).
Average length:
select avg(1+char_length(sentence)-char_length( replace(sentence," ",""))) from sentences;
Distribution:
SELECT @all:=count(*) from sentences;
select 1+char_length(sentence)-char_length( replace(sentence," ","")), 100*count(*)/@all from sentences where 50>=1+char_length(sentence)-char_length(replace(sentence," ",""))group by 1+char_length(sentence)-char_length( replace( sentence," ",""));
4.2.1 Length of sentences in characters